define(["jquery","bbcare","bch/app/vaccine/vaccineMiss.ui"],function($,$bb,$ui){
	var event = {};

	/**
     * 确认提醒
     */
    var onSubmit = function(){
        var className = $(this).data("className");
        $("." + className).modal("hide");
        $bb.toastShow("该功能暂时未开发！");
    }
    /**
     * 提醒操作
     */
    event.onMissWarn = function(){
        var className = "missWarnModal";
        $bb.modal({
            "className": className,
            "tit": "提醒",
        },function(){
            $("." + className).modal("show");
            $ui.missWarnForm({
                "dom":$("." + className + " .modal-body")
            });
            $("#submit").unbind("click");
            $("#submit").data("className",className);
            $("#submit").click(onSubmit);
        });
    }

    return event;
});